home *** CD-ROM | disk | FTP | other *** search
/ Aminet 32 / Aminet 32 (1999)(Schatztruhe)[!][Aug 1999].iso / Aminet / dev / lang / Python151_Src.lha / Python1.5_Source / Python / Makefile.in < prev    next >
Makefile  |  1997-07-19  |  3KB  |  124 lines

  1. # NOTE: Makefile.in is converted into Makefile by the configure script
  2. # in the parent directory.  Once configure has run, you can recreate
  3. # the Makefile by running just config.status.
  4.  
  5. # === Variables set by config.stat ===
  6.  
  7. VERSION=    @VERSION@
  8.  
  9. srcdir=        @srcdir@
  10. VPATH=        @srcdir@
  11.  
  12. CC=        @CC@
  13. RANLIB=        @RANLIB@
  14. AR=        @AR@
  15.  
  16. DEFS=        @DEFS@
  17. LIBOBJS=    @LIBOBJS@
  18. LIBS=        @LIBS@
  19. DLINCLDIR=    @DLINCLDIR@
  20.  
  21. # Machine-dependent subdirectories
  22. MACHDEP=    @MACHDEP@
  23.  
  24.  
  25. # === Other things that are customizable but not by configure ===
  26.  
  27. INCLDIR=    $(srcdir)/../Include
  28. OPT=        @OPT@
  29. CFLAGS=        $(OPT) -I$(INCLDIR) -I.. $(DEFS)
  30.  
  31. MKDEP=        mkdep
  32. SHELL=        /bin/sh
  33.  
  34.  
  35. # === Fixed definitions ===
  36.  
  37. OBJS=        \
  38.         bltinmodule.o \
  39.         ceval.o compile.o \
  40.         errors.o \
  41.         frozen.o frozenmain.o \
  42.         getargs.o getcompiler.o getcopyright.o getmtime.o \
  43.         getplatform.o getversion.o graminit.o \
  44.         import.o importdl.o \
  45.         marshal.o modsupport.o mystrtoul.o \
  46.         pyfpe.o pystate.o pythonrun.o \
  47.         sigcheck.o structmember.o sysmodule.o \
  48.         traceback.o \
  49.         $(LIBOBJS)
  50.  
  51. LIBRARY=    ../libpython$(VERSION).a
  52.  
  53.  
  54. # === Rules ===
  55.  
  56. all:        $(OBJS)
  57.  
  58. # This target is used by the master Makefile to add the objects to the library
  59. add2lib:    $(OBJS)
  60.         $(AR) cr $(LIBRARY) $(OBJS)
  61.         touch add2lib
  62.  
  63. clean:
  64.         -rm -f *.o core *~ [@,#]* *.old *.orig *.rej add2lib
  65.  
  66. clobber:    clean
  67.         -rm -f *.a tags TAGS
  68.  
  69. Makefile:    $(srcdir)/Makefile.in ../config.status
  70.         (cd ..; CONFIG_FILES=Python/Makefile CONFIG_HEADERS= \
  71.         $(SHELL) config.status)
  72.  
  73. getplatform.o:    getplatform.c Makefile
  74.         $(CC) -c $(CFLAGS) -DPLATFORM='"$(MACHDEP)"' \
  75.               $(srcdir)/getplatform.c
  76.  
  77. importdl.o:    importdl.c
  78.         $(CC) -c $(CFLAGS) -I$(DLINCLDIR) $(srcdir)/importdl.c
  79.  
  80. depend:
  81.         $(MKDEP) $(CFLAGS) `echo $(OBJS) | tr ' ' '\012' | \
  82.                     sed 's|\(.*\)\.o|$(srcdir)/\1.c|'`
  83.  
  84. .PRECIOUS:    Makefile
  85.  
  86. bltinmodule.o: bltinmodule.c
  87. ceval.o: ceval.c
  88. compile.o: compile.c
  89. dup2.o: dup2.c
  90. errors.o: errors.c
  91. fmod.o: fmod.c
  92. frozen.o: frozen.c
  93. frozenmain.o: frozenmain.c
  94. getargs.o: getargs.c
  95. getcompiler.o: getcompiler.c
  96. getcopyright.o: getcopyright.c
  97. getcwd.o: getcwd.c
  98. getmtime.o: getmtime.c
  99. getopt.o: getopt.c
  100. getplatform.o: getplatform.c
  101. getversion.o: getversion.c
  102. graminit.o: graminit.c
  103. import.o: import.c
  104. importdl.o: importdl.c
  105. marshal.o: marshal.c
  106. memmove.o: memmove.c
  107. modsupport.o: modsupport.c
  108. mystrtoul.o: mystrtoul.c
  109. pyfpe.o: pyfpe.c
  110. pystate.o: pystate.c
  111. pythonrun.o: pythonrun.c
  112. sigcheck.o: sigcheck.c
  113. strerror.o: strerror.c
  114. strtod.o: strtod.c
  115. structmember.o: structmember.c
  116. sysmodule.o: sysmodule.c
  117. thread.o: thread.c
  118. traceback.o: traceback.c
  119. version.o: version.c
  120.  
  121. # DO NOT DELETE THIS LINE -- mkdep uses it.
  122. # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
  123. # IF YOU PUT ANYTHING HERE IT WILL GO AWAY
  124.